const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
})
const path = require('path');
module.exports = {
  chainWebpack: config => {
    config.resolve.alias
     .set('@', path.resolve('src'));
  }
};
module.exports = {
  devServer: {
    proxy: {
      '/geolearning': {
        target: 'http://127.0.0.1:9000', // 后端实际地址
        changeOrigin: true,
        pathRewrite: {
          '^/geolearning': ''
        }
      }
    }
  }
};
